﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <title>@ViewBag.Title - @ViewBag.Controller</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="~/Areas/Admin/Content/favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <!-- Styles -->
    <link href="~/Content/themes/admin/base/css/chosen.css" rel="stylesheet" type="text/css">
    <link href="~/Content/themes/admin/base/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="~/Content/themes/admin/base/css/avocado.css" rel="stylesheet" type="text/css" id="theme-style">
    <link href="~/Content/themes/admin/base/css/prism.css" rel="stylesheet/less" type="text/css">
    <link href="~/Content/themes/admin/base/css/fullcalendar.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,300" rel="stylesheet" type="text/css">
    <style type="text/css">
        body {
            padding-top: 102px;
        }
    </style>
    <link href="~/Content/themes/admin/base/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="~/Content/themes/admin/admin.css" rel="stylesheet" type="text/css">

    <!-- JavaScript/jQuery, Pre-DOM -->
    <script src="~/Scripts/admin/base/jquery1.9.1.min.js"></script>
    <script src="~/Scripts/admin/base/jquery.mask.js"></script>
    <script src="~/Scripts/admin/base/admin.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=false"></script>
    <script src="~/Scripts/admin/base/excanvas.min.js"></script>
    <script src="~/Scripts/admin/base/jquery.flot.js"></script>
    <script src="~/Scripts/admin/base/jquery.jpanelmenu.min.js"></script>
    <script src="~/Scripts/admin/base/jquery.cookie.js"></script>
    <script src="~/Scripts/admin/base/avocado-custom-predom.js"></script>

    <!-- HTML5, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
		<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

</head>

<body>

    <!-- Top Fixed Bar -->
    <div class="navbar navbar-inverse navbar-fixed-top">

        <!-- Top Fixed Bar: Navbar Inner -->
        <div class="navbar-inner">

            <!-- Top Fixed Bar: Container -->
            <div class="container">

                <!-- Mobile Menu Button -->
                <a href="#">
                    <button type="button" class="btn btn-navbar mobile-menu">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </a>
                <!-- / Mobile Menu Button -->

                <!-- / Logo / Brand Name -->
                <a class="brand" href="~/Admin/">Web Fitness - <b>Painel Administrativo</b></a>
                <!-- / Logo / Brand Name -->

                <!-- User Navigation -->
                <ul class="nav pull-right">
                    <!-- User Navigation: User -->
                    <li class="dropdown">

                        <!-- User Navigation: User Link -->
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            @{
                                @Html.Label(WebFitness.SessionManager.Funcionario.nome);
                            }
                            @*@{
                                try
                                {
                                    @Html.Label(WebFitness.Classes.SessionManager.Funcionario.nome);
                                }
                                catch
                                {
                                    Response.RedirectToRoute("LoginAdmin", "Logout");
                                }
                            }*@
                        </a>
                        <!-- / User Navigation: User Link -->

                        <!-- User Navigation: User Dropdown -->
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Logout", "Logout", "LoginAdmin")</li>
                        </ul>
                        <!-- / User Navigation: User Dropdown -->

                    </li>
                    <!-- / User Navigation: User -->

                </ul>
                <!-- / User Navigation -->

            </div>
            <!-- / Top Fixed Bar: Container -->

        </div>
        <!-- / Top Fixed Bar: Navbar Inner -->

    </div>
    <!-- / Top Fixed Bar -->

    <!-- Content Container -->
    <div class="container">

        <!-- Main Navigation: Box -->
        <div class="navbar navbar-inverse" id="nav">

            <!-- Main Navigation: Inner -->
            <div class="navbar-inner">

                <!-- Main Navigation: Nav -->
                <ul class="nav">

                    <!-- Main Navigation: Dashboard -->
                    <li class="dropdown-toggle">@Html.ActionLink("Dashboard", "Index", "Dashboard")</li>
                    <!-- / Main Navigation: Dashboard -->

                    <!-- Main Navigation: General -->
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-cogs"></i>Parametrizações <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Tipo Aula", "Index", "TipoAula")</li>
                            <li>@Html.ActionLink("Tipo Exercicio", "Index", "TipoExercicio")</li>
                            <li>@Html.ActionLink("Tipo Manutenção", "Index", "TipoManutencao")</li>
                        </ul>
                    </li>
                    <!-- / Main Navigation: General -->

                    <!-- Main Navigation: UI Elements -->
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-book"></i>Cadastros <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Aluno", "Index", "Aluno")</li>
                            <li>@Html.ActionLink("Aula", "Index", "Aula")</li>
                            <li>@Html.ActionLink("Equipamento", "Index", "Equipamento")</li>
                            <li>@Html.ActionLink("Exercício", "Index", "Exercicio")</li>
                            <li>@Html.ActionLink("Fornecedor", "Index", "Fornecedor")</li>
                            <li>@Html.ActionLink("Funcionário", "Index", "Funcionario")</li>
                            <li>@Html.ActionLink("Manutenção", "Index", "Manutencao")</li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-dollar"></i>Financeiro <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Contas a Pagar", "Index", "ContasPagar")</li>
                        </ul>
                    </li>

                    

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-comment"></i>Contato <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Contatos de Clietnes", "Index", "Contato")</li>
                        </ul>
                    </li>
                    <!-- / Main Navigation: UI Elements -->

                </ul>
                <!-- / Main Navigation: Nav -->


            </div>
            <!-- / Main Navigation: Inner -->

        </div>
        <!-- / Main Navigation: Box -->

        @RenderBody()

    </div>
    <!-- / Content Container -->

    <!-- Footer -->
    <footer class="footer">

        <!-- Footer Container -->
        <div class="container">

            <!-- Footer Container: Content -->
            <p>&copy; @DateTime.Now.Year - WbFitness Corporation</p>


        </div>
        <!-- / Footer Container -->

    </footer>
    <!-- / Footer -->

</body>

<!-- Javascript
	    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="~/Scripts/admin/base/jquery.hotkeys.js"></script>
<script src="~/Scripts/admin/base/fullcalendar.min.js"></script>
<script src="~/Scripts/admin/base/jquery-ui-1.10.2.custom.min.js"></script>
<script src="~/Scripts/admin/base/jquery.pajinate.js"></script>
<script src="~/Scripts/admin/base/jquery.prism.min.js"></script>
<script src="~/Scripts/admin/base/jquery.dataTables.min.js"></script>
<script src="~/Scripts/admin/base/jquery.flot.time.js"></script>
<script src="~/Scripts/admin/base/jquery.flot.pie.js"></script>
<script src="~/Scripts/admin/base/jquery.flot.resize.js"></script>
<script src="~/Scripts/admin/base/bootstrap.min.js"></script>
<script src="~/Scripts/admin/base/bootstrap-wysiwyg.js"></script>
<script src="~/Scripts/admin/base/bootstrap-typeahead.js"></script>
<script src="~/Scripts/admin/base/jquery.easing.min.js"></script>
<script src="~/Scripts/admin/base/jquery.chosen.min.js"></script>
<script src="~/Scripts/admin/base/avocado-custom.js"></script>

</html>